/**
 * jims
 */
package com.jims.master.modules.drug.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jims.master.common.persistence.Page;
import com.jims.master.common.service.CrudService;
import com.jims.master.modules.drug.entity.DrugPriceLog;
import com.jims.master.modules.drug.dao.DrugPriceLogDao;

/**
 * 药品价格记录Service
 * @author CTQ
 * @version 2017-03-02
 */
@Service
@Transactional(readOnly = true)
public class DrugPriceLogService extends CrudService<DrugPriceLogDao, DrugPriceLog> {

	public DrugPriceLog get(String id) {
		return super.get(id);
	}
	
	public List<DrugPriceLog> findList(DrugPriceLog drugPriceLog) {
		return super.findList(drugPriceLog);
	}
	
	public Page<DrugPriceLog> findPage(Page<DrugPriceLog> page, DrugPriceLog drugPriceLog) {
		return super.findPage(page, drugPriceLog);
	}
	
	@Transactional(readOnly = false)
	public int save(DrugPriceLog drugPriceLog) {
		return super.save(drugPriceLog);
	}
	
	@Transactional(readOnly = false)
	public int delete(DrugPriceLog drugPriceLog) {
		return super.delete(drugPriceLog);
	}
	
}